.header-bar {
  user-select: none;
  height: 50%;
  display: -webkit-box;
  display: flex;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #2b2c2e;
}
.header-bar ul{
  float: right;
  line-height: 28px;
  font-size: 18px;
}
.header-bar ul li {
  position: relative;
  float: left;
  cursor: pointer;
  font-size: 12px;
  color: hsla(0,0%,100%,.7);
  padding: 0 20px;
}
.header-bar svg {
  margin-left: 20px;
  cursor: pointer;
}
.log {
  cursor: pointer;
}
.log-input {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.log-input-contain {
  background-color: aliceblue;
  width: 500px;
  height: 300px;
  margin: 0 auto;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  top: 50%;
  margin-top: -150px;
  border-radius: 25px;
}

.log-input-contain .drop{
  position: relative;
  width: 350px;
  height: 350px;
  box-shadow: inset 20px 20px 20px rgba(0, 0, 0, .05),
              25px 35px 20px rgba(0, 0, 0, .05),
              25px 30px 30px rgba(0, 0, 0, .05),
              inset -20px -20px 25px rgba(255, 255, 255, 0.9);
    transition: 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
 border-radius: 52% 48% 33% 67% / 38% 45% 55% 62%;
}

.log-input-contain .drop:hover{
  border-radius: 50%;
}

.log-input-contain .drop::before{
  content: '';
  position: absolute;
  top:50px;
  left: 85px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
}
.log-input-contain .drop::after{
  content: '';
  position: absolute;
  top:90px;
  left: 110px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
}

.log-input-contain .drop .content{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  gap: 15px;
}

.log-input-contain .drop .content h2{
  position: relative;
  color: #333;
  font-size: 1.5em;
}
.log-input-contain .drop .content form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.log-input-contain .drop .content form .inputBox{
  position: relative;
  width: 225px;
  box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .1),
  inset -2px -5px 10px rgba(255, 255, 255, 1),
  15px 15px 10px rgba(0, 0, 0, .05),
  15px 10px 15px rgba(0, 0, 0, .05);
  border-radius: 25px;
}

.log-input-contain .drop .content form .inputBox::before{
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.log-input-contain .drop .content form .inputBox input{
  border: none;
  outline: none;
  background-color: transparent;
  width: 100%;
  font-size: 1em;
  padding: 10px 15px;
}
.log-input-contain .drop .content form .inputBox input[type="submit"] {
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.log-input-contain .drop .content form .inputBox:last-child {
  width: 120px;
  background-color: #ff0f5b;
  box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .1),
  15px 15px 10px rgba(0, 0, 0, .05),
  15px 10px 15px rgba(0, 0, 0, .05);
  transition: 0.5s;
}
.log-input-contain .drop .content form .inputBox:last-child:hover{
  width: 150px;
}

.btns{
  position: absolute;
  width: 120px;
  height: 120px;
  right: -120px;
  bottom: 0;
  background-color:#c61dff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  line-height: 1.2em;
  letter-spacing: 0.1em;
  font-size: 0.8em;
  transition: 0.25s;
  text-align: center;
  box-shadow: inset 10px 10px 10px rgba(190, 1, 254, .05),
  15px 25px 10px rgba(190, 1, 254, .1),
  15px 20px 20px rgba(190, 1, 254, .1),
  inset -10px -10px 15px rgba(255, 255, 255, 0.5);
  border-radius: 44% 56% 65% 35% / 57% 58% 42% 43%;
}

.btns:hover{
  border-radius: 50%;
}
.btns::before{
  content: '';
  position: absolute;
  top:15px;
  left: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.45;
}

.btns.signup{
  bottom: 150px;
  right: -140px;
  width: 80px;
  height: 80px;
  border-radius: 49% 51% 52% 48% / 63% 59% 41% 37%;
  background-color: #01b4ff;
   box-shadow: inset 10px 10px 10px rgba(1, 180, 255, .05),
  15px 25px 10px rgba(1, 180, 255, .1),
  15px 20px 20px rgba(1, 180, 255, .1),
  inset -10px -10px 15px rgba(255, 255, 255, 0.5);
}
.btns.signup::before{
  left: 20%;
  width: 15px;
  height: 15px;

}
.btns:hover{
  border-radius: 50%;
}
nav {
  user-select: none;
  display: flex;
  /* flex-direction: column; */
  position: relative;
  width: var(--navWidth);
  margin: 0 auto;
  height: 30px;
  background: rgba(255, 255, 255, .5);
  border-radius: 15px;
  & .nav-item {
    width: calc(var(--navWidth) / 5);
    height: 100%;
    text-align: center;
    /* display: flex; */
    /* flex-direction: column; */
    font-size: 16px;
    /* justify-content: center;
    align-items: center; */
    white-space: nowrap;
    /* overflow-x: auto; */
  }
  & #block {
    transition: .5s;
    width: calc(var(--navWidth) / 5);
    height: 100%;
    background-color: rgba(100,100,130, .8);
    border-radius: 15px;
    position: absolute;
    left: 0;
    z-index: -1;
  }
  & .nav-item {
    cursor: pointer;
  }
  & .nav-item:nth-child(2):hover ~ #block {
    left: calc(var(--navWidth) / 5);
  }
  & .nav-item:nth-child(3):hover ~ #block {
    left: calc((var(--navWidth) / 5) * 2);
  }
  & .nav-item:nth-child(4):hover ~ #block {
    left: calc((var(--navWidth) / 5) * 3);
  }
  & .nav-item:nth-child(5):hover ~ #block {
    left: calc((var(--navWidth) / 5) * 4);
  }
}
.nav-item div:nth-child(1) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--navWidth) / 5);
  height: 100%;
}
.nav-ul {
  display: none;
}
.nav-item:hover .nav-ul {
  display: block;
}
.nav-ul li:not(:first-child) {
  border-top: 1px dashed #ccc;
}

